package com.jxy.edu.search;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(value = "com.jxy.edu.api")
@EntityScan(value = "com.jxy.edu.domain.search")
@ComponentScan(value ="com.jxy.edu.search" )
@ComponentScan(value = "com.jxy.edu.common")
public class SearchApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(SearchApplication.class, args);
    }

}
